import request from '@/utils/request.js'

export const getTeacher = async () => {
    return await request.post('/users/jiaoshidata')
}

export const delAllguan = async (data) => {
    return await request.post('/users/delAllguan', data)
}

//设置页面管理员教师批量删除
export const delAllTeacher = async (data) => {
    return await request.post('/users/delAllTeacher', data)
}

export const guanbanjidata = async () => {
    return await request.post('/users/guanbanjidatas')
}

//设置页面班级设置设置接口
export const setbanji = async (data) => {
    return await request.post('/users/setstuse', data)
}

//设置页面管理员班级设置
export const gbsz = async (data) => {
    return await request.post('/users/gbsz', data)
}

//设置页面管理员教师设置接口
export const setTeacher = async (data) => {
    return await request.post('/users/setTeacher', data)
}

//获取设置页面班级设置表格数据
export const banjidata = async () => {
    return await request.post('/users/class')
}

//设置页面班级设置删除接口
export const delbanji = async (id) => {
    return await request.post('/users/delstuse', { ids: id })
}

//设置页面班级管理删除接口
export const delguan = async (id) => {
    return await request.post('/users/delguan', { ids: id })
}

//设置页面管理员教师删除
export const deljiaoshi = async (id) => {
    return await request.post('/users/deljiaoshi', { ids: id })
}

//设置页面管理员教师新增
export const addTeacher = async (data) => {
    return await request.post('/users/addTeacher', data)
}

//设置页面管理员设置新增接口
export const addguan = async (data) => {
    return await request.post('/users/addguan', data)
}

//设置页面班级设置新增接口
export const addstuses = async (data) => {
    return await request.post('/users/addstuse', data)
}

//设置页面班级批量删除接口
export const delAll = async (data) => {
    return await request.post('/users/delAll', data)
}